package Socket;

public interface Protocol {
	public final static int CMD_REGISTER=0;
	public final static int CMD_LOGIN=1;
	public final static int CMD_QUERY=2;
	public final static int CMD_GETOP=3;
	public final static int CMD_GETREL=4;
	public final static int CMD_GETINDEXITEM=5;
	public final static int CMD_GETTABLES=6;
	public final static int CMD_GETINDEXES=7;
	public final static int CMD_GETVIEWS=8;
	public final static int CMD_QUERYOPEN=9;
	public final static int CMD_GETVIEW=10;
	public final static int CMD_QUERYGETNEXT=11;
	public final static int CMD_QUERYCLOSE=12;
	public final static int CMD_GETTITLES=13;
	
	public final static int RET_REGISTER_SUCCEED=100;
	public final static int RET_REGISTER_FAIL=101;
	public final static int RET_QUERY_ERROR=102;
	
}
